package site.jlopen.entity.job;

import lombok.Getter;
import lombok.Setter;

@Getter
@Setter
public class TaskLogVo {

	private String content;
	
	private String dataTime;
	
	private String status;
	
	private String icon;
	
	private String color;

	public TaskLogVo(String content, String dataTime, String status) {
		super();
		this.content = content;
		this.dataTime = dataTime;
		this.status = status;
		if(status.equals("SUCCEED")) {
			this.icon = "CircleCheck";
			this.color = "#0bbd87";
		}else {
			this.icon = "CircleClose";
			this.color = "#f56c6c";
		}
	}
	
	
}
